package com.llt.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;
@ApiModel(value = "全部分类数据")
public class ClassAll implements Serializable {
    @ApiModelProperty("一级分类id")
    private Integer classID;
    @ApiModelProperty("一级分类名字")
    @NotBlank(message = "用户名不能为空")
    private String name;
    private List<ClassSecond> list ;

    public Integer getClassID() {
        return classID;
    }

    public void setClassID(Integer classID) {
        this.classID = classID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ClassSecond> getList() {
        return list;
    }

    public void setList(List<ClassSecond> list) {
        this.list = list;
    }
}
